file(GLOB HEADERS "include/steem/plugins/account_history/*.hpp")

add_library( account_history_plugin
             account_history_plugin.cpp
           )

target_link_libraries( account_history_plugin chain_plugin steem_chain steem_protocol steem_utilities )
target_include_directories( account_history_plugin
                            PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

if( CLANG_TIDY_EXE )
   set_target_properties(
      account_history_plugin PROPERTIES
      CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
   )
endif( CLANG_TIDY_EXE )

install( TARGETS
   account_history_plugin

   RUNTIME DESTINATION bin
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib
)
